package org.jeecg.modules.yfYqgk.service;

import org.jeecg.modules.yfYqgk.entity.HqYfYqgkZyry;
import org.jeecg.modules.yfYqgk.entity.HqYfYqgkTudcq;
import org.jeecg.modules.yfYqgk.entity.HqYfYqgkLzqk;
import org.jeecg.modules.yfYqgk.entity.HqYfYqgkGhqk;
import org.jeecg.modules.yfYqgk.entity.HqYfYqgkHqqk;
import org.jeecg.modules.yfYqgk.entity.HqYfYqgkXfaqqk;
import org.jeecg.modules.yfYqgk.entity.HqYfYqgkSdqrgyjxhqk;
import org.jeecg.modules.yfYqgk.entity.HqYfYqgk;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 营区概况
 * @Author: jeecg-boot
 * @Date:   2020-07-12
 * @Version: V1.0
 */
public interface IHqYfYqgkService extends IService<HqYfYqgk> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(HqYfYqgk hqYfYqgk, List<HqYfYqgkZyry> hqYfYqgkZyryList, List<HqYfYqgkTudcq> hqYfYqgkTudcqList, List<HqYfYqgkLzqk> hqYfYqgkLzqkList, List<HqYfYqgkGhqk> hqYfYqgkGhqkList, List<HqYfYqgkHqqk> hqYfYqgkHqqkList, List<HqYfYqgkXfaqqk> hqYfYqgkXfaqqkList, List<HqYfYqgkSdqrgyjxhqk> hqYfYqgkSdqrgyjxhqkList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(HqYfYqgk hqYfYqgk, List<HqYfYqgkZyry> hqYfYqgkZyryList, List<HqYfYqgkTudcq> hqYfYqgkTudcqList, List<HqYfYqgkLzqk> hqYfYqgkLzqkList, List<HqYfYqgkGhqk> hqYfYqgkGhqkList, List<HqYfYqgkHqqk> hqYfYqgkHqqkList, List<HqYfYqgkXfaqqk> hqYfYqgkXfaqqkList, List<HqYfYqgkSdqrgyjxhqk> hqYfYqgkSdqrgyjxhqkList);
	
	/**
	 * 删除一对多
	 */
	public void delMain(String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain(Collection<? extends Serializable> idList);
	
}
